import {get,post} from '../request'

export default  {
    // 请求hostory记录 keywords
    reqHistoryAndKeywords(id){
        // return get('/search/gethistory?id='+id,)
        return get('/search/gethistory',{'id':id})
    },
    // 保存关键字
    reqSavehistory(params){
        return post('/search/savehistory',params)
    },
    // 清除记录
    reqClearHistory(params){
        return post('/search/clearhistory',params)
    },
    // 模糊搜索
    reqSearchKeyWord(params){
        return post('/search/searchkeyword',params)
    }

}